﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SharedPool.master" AutoEventWireup="true" CodeFile="ConvoyOfHope.aspx.cs" Inherits="ConvoyOfHope_ConvoyOfHope" %>

<%@ Register src="../DispoDDL.ascx" tagname="DispoDDL" tagprefix="uc1" %>

<%@ Register src="../DispoConfirm.ascx" tagname="DispoConfirm" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            text-align: center;
            font-weight: 700;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:Wizard ID="WebWizard" runat="server" ActiveStepIndex="4" 
        BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderWidth="1px" 
        Font-Names="Verdana" Font-Size="1em" Height="255px" Width="97%" 
        onactivestepchanged="WebWizard_ActiveStepChanged" 
        onfinishbuttonclick="WebWizard_FinishButtonClick" 
        onnextbuttonclick="WebWizard_NextButtonClick">
        <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" 
            BorderWidth="2px" Font-Bold="True" Font-Size="0.9em" ForeColor="White" 
            HorizontalAlign="Center" />
        <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" 
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
            ForeColor="#284E98" />
        <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" 
            ForeColor="White" />
        <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" 
            Width="100px" />
        <StepStyle Font-Size="0.8em" ForeColor="#333333" />
        <WizardSteps>
            <asp:WizardStep ID="Rebuttals" runat="server" StepType="Start" 
                title="**Rebuttals**">
                <strong>Close for No</strong>
                <br />
                I understand. Thank you for calling. Goodbye!<br /> <strong>End Call As No Thank 
                You</strong>
            </asp:WizardStep>
            <asp:WizardStep ID="FAQ" runat="server" StepType="Start" title="**FAQ**">
                <strong>FAQ’s </strong>
                <br />
            </asp:WizardStep>
            <asp:WizardStep ID="Introduction" runat="server" StepType="Start" 
                Title="Introduction">
                Thank you for calling Convoy of Hope. My name is
                <asp:Literal ID="litAgentFirstName" runat="server" Mode="PassThrough"></asp:Literal>
                . And I want to thank you for reaching out to sponsor a hurting child. To better 
                serve you may I please have your first and last name? Capture First &amp; Last Name: 
                Thank you. As you saw, we’re able to feed these beautiful, priceless children 
                for just $15 a month and you can cancel at any time. Because the need is so 
                great, would you be able to sponsor TWO children (today/tonight)?<br /><strong>Number 
                of Children to Sponsor :</strong>
                <asp:TextBox ID="txtNumberOfChildren" runat="server" MaxLength="3" Width="29px"></asp:TextBox>
                &nbsp;(leave blank for none)<asp:RegularExpressionValidator 
                    ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtNumberOfChildren" ErrorMessage="Only Numbers" 
                    ValidationExpression="\d+"></asp:RegularExpressionValidator>
            </asp:WizardStep>
            <asp:WizardStep ID="ChildSponsor" runat="server" Title="ChildSponsor" 
                StepType="Finish">
                <strong>If Sponsoring Child</strong>
                <br />
                Thank you for your generous sponsorship of
                <asp:Literal ID="litNumberOfChildren" runat="server" Mode="PassThrough"></asp:Literal>
                &nbsp;children. Now all I need to do is capture a little more information. Can I get 
                your:
                <br />
                Address?
                <br />
                City?
                <br />
                State?
                <br />
                Zip?
                <br />
                Email Address?
                <br />
                Phone Number?
                <br />
                Thank you and which credit card will you be placing your life-saving sponsorship 
                on this evening, we accept Visa, Mastercard, American Express and Discover?
                <br />
                <strong>IF NO:</strong> I understand, the only reason we ask our generous child 
                sponsors to place their sponsorship on a credit card is that it helps us keep 
                administrative costs down so we can serve more children and it makes it easier 
                for you; not needing to write a check each month. So would you be able to place 
                your sponsorship on a credit card this evening?
                <br />
                <strong>IF NO AGAIN: Select &quot;Mail Letter&quot; Payment Type</strong><br /> <strong>IF 
                YES TO CREDIT CARD:</strong> Great, I’ll wait a moment while you grab your card. 
                Please let me know when you’re ready. (Pause) May I get… [Capture Credit Card 
                Number, Capture expiration date, Capture security code]<br /><strong>Close for 
                Credit Card - Sponsorship</strong>
                <br />
                Great! We&#39;ll process your sponsorship of
                <asp:Literal ID="litCallTotalAmount" runat="server" Mode="PassThrough"></asp:Literal>
                &nbsp;dollars immediately and send your confirmation letter. The charge will read 
                &quot;Convoy of Hope.&quot; [Mr. / Mrs.][LAST_NAME], on behalf of Convoy of Hope and the 
                children that we serve, thank you again. God bless you and goodbye!
            </asp:WizardStep>
            <asp:WizardStep ID="OneTime" runat="server" Title="OneTime" StepType="Finish">
                <strong>If Donor Wants to Make One-Time Donation</strong>
                <br />
                Thank you for reaching out to these hurting children. As you saw, hunger is a 
                global crisis with 1 in 6 children going to bed hungry every night. Could we 
                count on you to make a one-time donation of $180, which will feed a child for a 
                year?
                <br />
                <strong>IF NO:</strong> I understand that’s a lot to ask for and we appreciate 
                your call. Would $90 which will feed a child for six months or $45 for three 
                months be better for you? (If no amount is agreed to) I understand is there a 
                one-time amount you’d be comfortable with?<br />One Time Donation Amount: $<asp:TextBox 
                    ID="txtOneTimeDonationAmt" runat="server" MaxLength="10" Width="71px" 
                    OnTextChanged="txtOneTimeDonationAmt_TextChanged"></asp:TextBox>

&nbsp;<br />&nbsp;
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="txtOneTimeDonationAmt" 
                    ErrorMessage="Only Numbers (no Cents)" ValidationExpression="\d+" 
                    BackColor="Red" Font-Size="Larger" ForeColor="Black" SetFocusOnError="True"></asp:RegularExpressionValidator>
                <br />
                <strong>IF YES:</strong> Thank you for your generous $ XX gift. Now all I need 
                to do is capture a little more information. Can I get your: Address? City? 
                State? Zip? Email Address? Phone Number? Thank you and which credit card will 
                you be placing your life-saving donation on this evening, we accept Visa, 
                Mastercard, American Express and Discover?
                <br />
                <strong>IF NO</strong>: I understand, the only reason we ask you for a credit 
                card is that it helps us keep administrative costs down so we can serve more 
                children and it makes it easier for you. So would you be able to place your 
                donation on a credit card this evening?
                <br />
                <strong>IF NO AGAIN: Select &quot;Mail Letter&quot; Payment Type </strong>
                <br />
                <strong>IF YES TO CREDIT CARD:</strong> Great, I’ll wait a moment while you grab 
                your card. Please let me know when you’re ready. (Pause) May I get… Capture 
                Credit Card Number Capture expiration date
                <br />
                <br />
                <strong>Close for Credit Card - One-Time Donation</strong> Great! We&#39;ll process 
                your One-Time Donation of [Donation Amt Above] dollars immediately and send your 
                confirmation letter. The charge will read &quot;Convoy of Hope.&quot; [Mr. / Mrs. 
                ][LAST_NAME], on behalf of Convoy of Hope and the children that we serve, thank 
                you again. God bless you and goodbye!
            </asp:WizardStep>
            <asp:WizardStep ID="MailLetter" runat="server" StepType="Finish" 
                Title="MailLetter">
                <strong>MAIL LETTER</strong>
                <br />
                We’d be happy to get that letter out to you. It will be stamped with a bright 
                red telephone. Please return your generous gift as soon as possible so we may 
                help a hungry child on your behalf. Is there anything else I can help you with 
                (today/tonight)?
                <br />
                <strong>IF NO:</strong> Thank you again and have a great (day/evening). Goodbye!
                <br />
                <strong>IF YES:</strong> Go to Appropriate screen
            </asp:WizardStep>
            <asp:WizardStep ID="Disposition" runat="server" StepType="Complete" 
                Title="Disposition">
                <div class="style1">
                    <strong style="text-align: center">The Call has Been Dispositioned as<br />
                    </strong>
                    <asp:Label ID="lblDisposition" runat="server" Text="Not Dispositioned"></asp:Label>
                    <br />
                    Close Your Tab<br />
                    <br />
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" 
                        Text="Cancel/Go Back" Visible="False" />
                    <br />
                    </div>
            </asp:WizardStep>
        </WizardSteps>
    </asp:Wizard>
    <asp:Label ID="lblException" runat="server" Text="Label" Visible="False"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SideContent" Runat="Server">
    <asp:Panel ID="pnlContactData" runat="server" Width="220px" Direction="LeftToRight" HorizontalAlign="Left" BackColor="Silver">
        <table cellpadding="0">
            <tr>
                <td colspan="2">
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                        style="text-align: center" Text="Non-Donor Dispositions" Width="214px" />
                    <uc2:DispoConfirm ID="DispoConfirm1" runat="server" Visible="False" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblError" runat="server" Font-Size="Small" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="cmdSubmitNameAndAddress" runat="server" 
                        onclick="cmdSubmitNameAndAddress_Click" Text="Save Name And Address Info" 
                        Width="213px" />
                </td>
            </tr>
            <tr>
                <td>
                    First Name</td>
                <td>
                    <asp:TextBox ID="tbFirstName" runat="server" MaxLength="20" tabIndex="2" 
                        Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Last Name</td>
                <td>
                    <asp:TextBox ID="tbLastName" runat="server" tabIndex="3" Width="128px" 
                        MaxLength="30"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="trAddr">
                <td>
                    Address</td>
                <td>
                    <asp:TextBox ID="tbAddr" runat="server" tabIndex="4" Width="128px" 
                        MaxLength="100"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="trAddr2">
                <td>
                    Address2</td>
                <td>
                    <asp:TextBox ID="tbAddr2" runat="server" tabIndex="5" Width="128px" 
                        MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Click for P.O. Box</td>
                <td>
                    <asp:CheckBox ID="cbPOBox" runat="server" 
                        oncheckedchanged="cbPOBox_CheckedChanged" AutoPostBack="True" />
                </td>
            </tr>
            <tr>
                <td>
                    Zip</td>
                <td>
                    <asp:TextBox ID="tbZip" runat="server" MaxLength="7" TabIndex="6" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnSearchZip" runat="server" Text="Search Zip" 
                        onclick="btnSearchZip_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    City</td>
                <td>
                    <asp:DropDownList ID="ddlCity" runat="server" Width="128px" Enabled="True">
                        <asp:ListItem Selected="True" Value="Click Search Zip"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    State</td>
                <td>
                    <asp:DropDownList ID="ddlState" runat="server" Width="128px" Enabled="false">
                        <asp:ListItem Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Country</td>
                <td>
                    <asp:DropDownList ID="ddlCountry" runat="server" Width="128px" Enabled="false">
                        <asp:ListItem Value="USA" Selected="True">USA</asp:ListItem>
                        <asp:ListItem Value="CANADA">CANADA</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Phone</td>
                <td>
                    <asp:TextBox ID="tbPhone" runat="server" MaxLength="10" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Email</td>
                <td>
                    <asp:TextBox ID="tbEmail" runat="server" MaxLength="100" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Select Payment Type</td>
                <td>
                    <asp:DropDownList ID="ddlPaymentType" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="ddlPaymentType_SelectedIndexChanged">
                        <asp:ListItem Value="" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="CC">Credit/Debit</asp:ListItem>
                        <asp:ListItem Value="No">Mail Letter</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr id="trCCType" runat="server" visible="false">
                <td>
                    Card Type</td>
                <td>
                    <asp:DropDownList ID="ddlCardType" runat="server" >
                        <asp:ListItem Selected="True" Value="V">Visa</asp:ListItem>
                        <asp:ListItem Value="A">American Express</asp:ListItem>
                        <asp:ListItem Value="D">Discover</asp:ListItem>
                        <asp:ListItem Value="M">MasterCard</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr ID="trCCNumber" runat="server" visible="false">
                <td>
                    CC Number</td>
                <td>
                    <asp:TextBox ID="tbCCNumber" runat="server" MaxLength="16" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trCCV" runat="server" visible="false">
                <td>
                    CCV</td>
                <td>
                    <asp:TextBox ID="tbCCV" runat="server" MaxLength="4" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trCCExpDate" runat="server" visible="false">
                <td>
                    Expiration Date (MMYY)</td>
                <td>
                    <asp:TextBox ID="tbExpDate" runat="server" MaxLength="4" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr id="trECAccHolder" runat ="server" visible="false">
                <td>
                    Name on the Account</td>
                <td>
                    <asp:TextBox ID="tbAccHolder" runat="server" MaxLength="100" TabIndex="10" 
                        Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trECBankName" runat="server" visible="false">
                <td>
                    Bank Name</td>
                <td>
                    <asp:TextBox ID="tbBankName" runat="server" MaxLength="100" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trECAccNum" runat="server" visible="false">
                <td>
                    Account Number</td>
                <td>
                    <asp:TextBox ID="tbAccNum" runat="server" MaxLength="25" TabIndex="10" 
                        Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trECRoutNum" runat="server" visible="false">
                <td>
                    Routing Number
                    <br />
                    (no spaces)</td>
                <td>
                    <asp:TextBox ID="tbRoutNum" runat="server" MaxLength="9" TabIndex="10" 
                        Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trECCheckNum" runat="server" visible="false">
                <td>
                    Check Number</td>
                <td>
                    <asp:TextBox ID="tbCheckNum" runat="server" MaxLength="10" TabIndex="10" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr ID="trECAccType" runat="server" visible="false">
                <td>
                    Account Type</td>
                <td>
                    <asp:DropDownList ID="ddlAccType" runat="server">
                        <asp:ListItem Value="C" Selected="True">Checking</asp:ListItem>
                        <asp:ListItem Value="S">Savings</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr ID="trShipping" runat="server">
                <td colspan="2">
                    Shipping Address<br />Different from Billing?<asp:CheckBox 
                        ID="cbShipping" runat="server" 
                        oncheckedchanged="cbShipping_CheckedChanged" AutoPostBack="True" />
                </td>
            </tr>
            <tr id="trShipLbl" runat="server" visible="false">
                <td colspan="2">
                    <b>Shipping Info</b></td>
            </tr>
            <tr id="trShipAddr" runat="server" visible="false">
                <td>
                    Address</td>
                <td>
                    <asp:TextBox ID="tbShipAddr" runat="server" tabIndex="4" Width="128px" 
                        MaxLength="100"></asp:TextBox>
                </td>
            </tr>
            <tr id="trShipAddr2" runat="server" visible="false">
                <td>
                    Address2</td>
                <td>
                    <asp:TextBox ID="tbShipaddr2" runat="server" tabIndex="5" Width="128px" 
                        MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="trShipPOBoxOption" visible="false">
                <td>
                    Click for P.O. Box</td>
                <td>
                    <asp:CheckBox ID="cbShipPOBox" runat="server" 
                        oncheckedchanged="cbShipPOBox_CheckedChanged" AutoPostBack="True" />
                </td>
            </tr>
            <tr id="trShipZip" runat="server" visible="false">
                <td>
                    Zip</td>
                <td>
                    <asp:TextBox ID="tbShipZip" runat="server" MaxLength="7" TabIndex="6" Width="128px"></asp:TextBox>
                </td>
            </tr>
            <tr id="trShipSearchZip" runat="server" visible="false">
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnShipSearchZip" runat="server" Text="Search Zip" 
                        onclick="btnShipSearchZip_Click" />
                </td>
            </tr>
            <tr id="trShipCity" runat="server" visible="false">
                <td>
                    City</td>
                <td>
                    <asp:DropDownList ID="ddlShipCity" runat="server" Width="128px" Enabled="True">
                        <asp:ListItem Selected="True" Value="Click Search Zip"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr id="trShipState" runat="server" visible="false">
                <td>
                    State</td>
                <td>
                    <asp:DropDownList ID="ddlShipState" runat="server" Width="128px" Enabled="false">
                        <asp:ListItem Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr id="trShipCountry" runat="server" visible="false">
                <td>
                    Country</td>
                <td>
                    <asp:DropDownList ID="ddlShipCountry" runat="server" Width="128px" Enabled="false">
                        <asp:ListItem Value="USA" Selected="True">USA</asp:ListItem>
                        <asp:ListItem Value="CANADA">CANADA</asp:ListItem>
                        <asp:ListItem>PUERTO RICO</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>

